var service = require('./js/index')
let timeout = null;

function start(hour = 24) {
    service.runAsync()
    timeout = setTimeout(() => {
        start(hour);
    }, hour * 3600 * 1000); //一天运行一次
}
start(24)